package com.lichuang.dedao.user.mapper;

import com.lichuang.dedao.user.entity.UserCoupon;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDate;
import java.util.List;

/**
 * <p>
 * 用户卡券 Mapper 接口
 * </p>
 *
 * @author hanghang
 * @since 2019-07-15
 */
public interface UserCouponMapper extends BaseMapper<UserCoupon> {

    List<UserCoupon> selectUserCoupons(@Param("userId") Integer userId, @Param("localDate") LocalDate localDate);
}
